<template>
  <div class=''>
    <basepannel comname="embedding" comtitle="镶嵌线配置" :w="500" :h="630" :x="panelX" :y="panelY">
      <embeddingcom ref="embeddingcom"></embeddingcom>
    </basepannel>
  </div>
</template>
<script >
import basepannel from '../basepannel/index.vue';
import embeddingcom from './embeddingcom.vue'

export default{
  name: 'layerpannel',
  props: {
    options: {
      type: Object,
      default: () => ({
        top: 100,
        right: 400
      })
    }
  },
  components: {
    basepannel,
    embeddingcom,
  },
  data() {
    return {
    };
  },
  computed: {
    panelX() {
      return this.options.right
    },
    panelY() {
      return this.options.top
    }
  },
  watch: {

  },
  mounted() {
  },
  methods: {
    closewindow() {
      this.$refs.embeddingcom.closewindow()
    }
  },
}
</script>
<style lang='scss' scoped></style>
